.yl_index {
  padding: 10px;
  overflow-x: hidden;
  //搜索
  .index_top {
    position: relative;

    .search_img {
      position: absolute;
      left: 60px;
      top: 20px;
      width: 40px;
      height: 40px;
    }

    .yl_search {
      margin: 0 30px;
      padding-left: 80px;
      height: 80px;
      border-radius: 30px;
      color: #999;
      border: 1px solid #eee;
      font-size: 26px;
    }
  }

  // 公告
  .announcement {
    display: flex;
    margin-top: 20px;
    padding: 0 20px;
    height: 60px;
    background: #fcf6ed;
    line-height: 60px;

    .an_gg {
      width: 80px;
      font-weight: 700;
      font-size: 32px;
      color: #dd5c47;
    }

    .an_img {
      margin: auto;
      width: 34px;
      height: 34px;
    }

    .an_info {
      margin-left: 20px;
      flex: 1;
      width: 260px;
      font-size: 30px;
    }

    .an_gd {
      width: 100px;
      text-align: center;
    }
  }

  // 轮播图
  .yl_swiper {
    margin-top: 20px;
    border-radius: 20px;
    .yl_swiper_item{
      border-radius: 20px;
      .yl_search_item {
        margin: 0 20px;
        width: 100%;
        height: 300px;
        border-radius: 20px;
      }
    }
  }

  // nav 栏
  .menu_bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    .menu_bar_item {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-top: 40px;
      //margin: 40px 20px 0 20px;
      width: 17%;
      height: 190px;
      box-sizing: border-box;

      .menu_bar_item_img {
        width: 100%;
        height: 130px;
        border-radius: 50%;
      }
      &:last-child{
        .menu_bar_item_img{
          margin: auto;
          width: 50px;
          height: 50px;
        }
      }
    }
    .show_more{
      position: absolute;
      bottom: 0;
      margin-top: 10px;
      width: 100%;
      height: 40px;
      line-height: 40px;
      text-align: right;
      background: #fff;
    }
  }

  // 折扣区
  .discount {
    margin: 20px 0;
    padding: 20px;
    border-radius: 20px;

    .discount_top {
      height: 60px;
      line-height: 60px;
      & Text:nth-child(1) {
        margin-right: 20px;
        font-size: 36px;
        font-weight: 700;
      }

      & Text:nth-child(2) {
        display: inline-block;
        padding: 0 20px;
        height: 50px;
        line-height: 50px;
        color: #fff;
        font-size: 22px;
        border-radius: 20px;
        background: #dd5c47;
      }

      & Text:nth-child(3) {
        float: right;
      }
    }

    .discount_con {
      margin-top: 20px;
      .discount_scrollView {
        display: flex;
        height: 240px;

        .discount_items {
          padding: 0 10px;
          width: 200px;
          height: 300px;

          .discount_items_img {
            margin-bottom: 20px;
            height: 160px;
            border-radius: 10px;
          }

          & Text:nth-child(2) {
            font-size: 32px;
            font-weight: 700;
            color: #dd5c47;
            letter-spacing: -3px;
          }

          & Text:nth-child(3) {
            margin-left: 10px;
            font-size: 26px;
            font-weight: 700;
            color: #cbcbcb;
            letter-spacing: -3px;
            text-decoration: line-through
          }
        }
      }
    }
  }

  // 今日必买
  .must_buy {
    border-radius: 20px;
    border: 10px solid #eaad71;
    .buy_top{
      display: block;
      height: 60px;
      line-height: 50px;
      text-align: center;
      font-size: 36px;
      color: #fff;
      font-weight: 700;
      background: #eaad71;
    }
    .yjiant{
      position: relative;
      top: -60px;
      left: 450px;
      width: 40px;
      height: 40px;
    }
    .must_buy_swiper{
      .must_buy_swiper_it{
        display: flex;
        .buy_swiper_it{
          margin: 0 10px;
          flex: 1;
          text-align: center;
          .buy_swiper_it_img{
            margin-bottom: 20px;
            height: 200px;
            border-radius: 20px;
          }
          .buy_swiper_it_zk{
            display: block;
            padding: 6px 14px;
            background: #eaad71;
            font-size: 30px;
            border-radius: 20px;
            color: #fff;
          }
        }
      }
    }
  }

  // 推荐区
  .like {
    background: #f4f4f4;

    .like_nav {
      display: flex;
      margin-top: 20px;
      padding-top: 10px;
      height: 100px;
      line-height: 44px;
      font-weight: 700;
      background: #f4f4f4;

      .like_nav_item {
        flex: 1;
        text-align: center;

        Text {
          font-size: 34px;
        }

        & Text:last-child {
          display: block;
          font-size: 26px;
          font-weight: 400;
          color: #999;
        }
      }
    }

    .like_detail {
      padding: 20px 10px;
      display: flex;
      height: 1030px;
      justify-content: space-between;
      flex-wrap: wrap;

      .like_detail_item {
        flex: 1;
        margin-bottom: 20px;
        padding: 20px;
        max-width: 50%;
        min-height: 500px;
        border-radius: 20px;
        background: #fefefe;

        .like_it_img {
          width: 100%;
          height: 260px;
          border-radius: 20px 20px 0 0;
        }

        .it_tit {
          font-size: 30px;
          line-height: 42px;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
        }

        .it_js {
          display: block;
          margin: 10px 0;
        }

        .it_foo {
          display: flex;
          justify-content: space-between;

          .it_jg {
            font-size: 32px;
            color: #dd5c47;
          }

          .it_qg {
            display: inline-block;
            width: 160px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            color: #fff;
            border-radius: 20px;
            background-color: #dd5c47;
          }
        }

      }

      & .like_detail_item:nth-child(odd) {
        margin-right: 20px;
      }
    }
  }
  //热销商品
  .hot_goods{
    .goods_title{
      height: 100px;
      text-align: center;
      line-height: 100px;
      &>Text{
        color: orange;
      }
    }
    .goods_list{
      display: flex;
      .details_if_list{
        height: 732px;
        .details_if_items{
          display: flex;
          width: calc(100vw - 200px);
          padding: 10px 20px;
          background: #fff;
          border-radius: 10px;
          .item_fl{
            Image {
              margin-right: 20px;
              width: 200px;
              height: 100%;
              border-radius: 10px;
            }
          }
          .item_fr{
            flex: 1;
            .item_fr_tit{
              width: 300px;
              display: block;
              font-size: 32px;
              overflow: hidden;
              text-overflow:ellipsis;
              white-space: nowrap;
            }
            .item_fr_con{
              margin-top: 10px;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              height: 70px;
              line-height: 34px;
              overflow: hidden;
              color: #b7b7b7;
            }
            .item_fr_tag{
              Text {
                display: inline-block;
                padding: 6px 20px;
                font-size: 18px;
                color: #fff;
                border-radius: 20px;
                background: #f2983a;
              }
            }
            .item_fr_boo{
              position: relative;
              display: flex;
              height: 60px;
              line-height: 60px;
              .new_price{
                margin-right: 10px;
                color: #f1902a;
                font-size: 28px;
                font-weight: 700;
                letter-spacing: 0;
              }
              .old_price{
                color: #999;
                letter-spacing: 0;
                text-decoration:line-through;
              }
              .comm_de_fr{
                position: relative;
                left: 26px;
                flex: 1;
                display: flex;
                justify-content: space-around;
                height: 100%;
                .add_comm_btn,
                .reduce_comm_btn{
                  position: absolute;
                  top: 16px;
                  right: 0;
                  width: 40px;
                  height: 40px;
                  font-size: 36px;
                  line-height: 38px;
                  text-align: center;
                  color: #fff;
                  border-radius: 50%;
                  background: #4aaf5d;
                }
                .reduce_comm_btn{
                  left: 0;
                  background: #fff;
                  color: #4aaf5d;
                  border: 1px solid #4aaf5d;
                }
                .move_tag{
                  transform: translate(0) rotate(-360deg);
                  transition: all .3s ;

                }
                .no_move_tag{
                  transform: translate(98px) rotate(360deg);
                  transition: all .3s ;
                }
              }
            }
          }
        }
      }
      //左侧
      .left_navigation{
        width: 200px;
        height: 732px;
        background: #f6f6f6;
        .nav_item{
          height: 100px;
          line-height: 100px;
          text-align: center;
          Text{
            font-size: 28px;
          }
        }
        .is_show_left_nav{
          &>Text{
            color: #3aa48d;
          }

        }
      }
    }

  }
}
